package com.achobeta.recruitment.dao.interact;

import com.achobeta.recruitment.model.Attachment;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AttachmentMapper {
    int insert(Attachment row);

    int insertSelective(Attachment row);

    Attachment selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Attachment row);

    int updateByPrimaryKey(Attachment row);

    List<Attachment> selectByOpenId(@Param("openid") String openid);

    int deleteById(@Param("id") Integer id);
}